package com.lanchetech.dao;

import com.lanchetech.bean.dto.CardConsumptionFundDto;
import com.lanchetech.bean.request.CardConsumptionFundReq;
import com.lanchetech.bean.vo.CardConsumptionFundVo;
import com.lanchetech.entity.CardConsumptionFund;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Ren
* @description 针对表【card_consumption_fund(消费金)】的数据库操作Mapper
* @createDate 2023-03-23 23:11:39
* @Entity com.lanchetech.entity.domain.CardConsumptionFund
*/
@Mapper
public interface CardConsumptionFundMapper {

    int deleteByPrimaryKey(Long id);

    int insert(CardConsumptionFundDto record);

    int insertSelective(CardConsumptionFund record);

    CardConsumptionFund selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CardConsumptionFund record);

    int updateByPrimaryKey(CardConsumptionFund record);

    List<CardConsumptionFundVo> findAll(CardConsumptionFundReq cardConsumptionFundReq);

    int whether(Long id);

    CardConsumptionFund getByCardCode(String cardCode);

    CardConsumptionFund findOne();
}
